package com.chixing.day05.op;

public class MainBoard {
    private String boardAttribute;//属性
    private String boardBrand;//品牌
    private float boardPrice;//价格

    public MainBoard(String boardAttribute,
                     String boardBrand,
                     float boardPrice){
        this.boardAttribute=boardAttribute;
        this.boardPrice=boardPrice;
        this.boardBrand=boardBrand;
    }
    public void run(){
        System.out.println("运行");
    }
    public void close(){
        System.out.println("停止");
    }

    public String getBoardAttribute() {
        return boardAttribute;
    }

    public void setBoardAttribute(String boardAttribute) {
        this.boardAttribute = boardAttribute;
    }

    public String getBoardBrand() {
        return boardBrand;
    }

    public void setBoardBrand(String boardBrand) {
        this.boardBrand = boardBrand;
    }

    public float getBoardPrice() {
        return boardPrice;
    }

    public void setBoardPrice(float boardPrice) {
        this.boardPrice = boardPrice;
    }
}
